Moloni\Controllers\Documents C

Total Complexity 105
Dependencies 15
Dependents 1
Total lines 1,040
Lines of code 445
Logical lines of code 269
Comment lines 343
Methods 35
Properties 41

Methods 35

Method Rating Maintainability Complexity Lines of code
associateDocuments()
A
45 12 43
setDelivery()
A
46 11 37
setExchangeRate()
S
56 7 17
mapPropsToValues()
S
45 5 40
setPaymentMethod()
S
54 6 21
createDocument()
S
51 5 25
setFiscalZone()
S
56 5 19
closeDocument()
S
48 4 34
setDocumentType()
S
57 4 18
setProducts()
S
60 4 13
setNotes()
S
61 4 12
setShipping()
S
64 4 9
setDocumentStatus()
S
60 3 14
setSendEmail()
S
60 3 14
setDocumentSetId()
S
67 3 7
setFees()
S
63 3 10
init()
S
60 1 21
shouldAddShippingInformation()
S
71 2 6
setCae()
S
67 2 8
setShippingInformation()
S
67 2 8
setYourReference()
S
76 1 4
setDates()
S
73 1 5
setCustomer()
S
76 1 4
__clone()
S
70 1 7
getDocumentExchageTotal()
S
82 1 3
getDocumentProducts()
S
80 1 3
getDocumentTotal()
S
82 1 3
getDocumentId()
S
82 1 3
saveRecord()
S
76 1 4
saveLog()
S
63 1 10
addAssociatedDocument()
S
67 1 8
shouldAddPayment()
S
80 1 3
shouldCloseDocument()
S
80 1 3
shouldSendEmail()
S
80 1 3
__construct()
S
71 1 6